import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  product_json: [{ type: 'array', required: true, message: "请选择成交产品", trigger: "blur" }],
  price: [{ required: true, message: "请输入金额", trigger: "blur" }]
});
